package com.yjc.drygoods.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yjc.common.utils.PageUtils;
import com.yjc.drygoods.product.entity.SpuInfoEntity;
import com.yjc.drygoods.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author yjc
 * @email yjc19979401754@126.com
 * @date 2022-08-19 21:27:48
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);
    /**
     * 上架商品
     *
     * @param spuId
     */
    void upSkuInfo(Long spuId);

    void downSkuInfo(Long spuId);
}

